package com.mall.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.model.domain.SmsHomeAdvertise;

/**
 * @author xyiaao
 * @description 针对表【sms_home_advertise(首页轮播广告表)】的数据库操作Api
 * @createDate 2022-03-29 19:46:09
 */
public interface SmsHomeAdvertiseApi extends IService<SmsHomeAdvertise> {

    Page<SmsHomeAdvertise> listPage(Integer pageNum, Integer pageSize, String name, Integer type, String endTime);

    void updateByAdvertise(Integer id, SmsHomeAdvertise advertise);

}
